/*
 * Copyright © 2019-2020  Whale Cloud, Inc. All Rights Reserved.
 *
 * Notice: Whale Cloud Inc copyrights this specification.
 * No part of this specification may be reproduced in any form or means,
 * without the prior written consent of Whale Cloud Inc.
 *
 */
package com.wteam.modules.system.domain.criteria;

import lombok.Data;
import com.wteam.annotation.Query;
import java.util.List;
import io.swagger.annotations.ApiParam;

/**
 * 学分记录 搜索类.
 *
 * @author herry_wong
 * @since 2020-12-29
 */
@Data
public class CreditRecordQueryCriteria{

    /** 精确查询:  */
    @ApiParam("精确查询: ")
    @Query
    private Long id;

    /** 精确查询: 学生id */
    @ApiParam("精确查询: 学生id")
    @Query
    private Long studentId;

    /** 精确查询: 学分类型 */
    @ApiParam("精确查询: 学分类型")
    @Query
    private Long typeId;

    /** 精确查询: 课程id */
    @ApiParam("精确查询: 课程id")
    @Query
    private Long courseId;

    /** 大于等于查询: 学分 */
    @ApiParam("大于等于查询: 学分")
    @Query(propName = "credit", type = Query.Type.GREATER_THAN)
    private Double greatCredit;

    /** 小于等于查询: 学分 */
    @ApiParam("小于等于查询: 学分")
    @Query(propName = "credit", type = Query.Type.LESS_THAN)
    private Double lessCredit;

    /** 大于等于查询: 学科成绩 */
    @ApiParam("大于等于查询: 学科成绩")
    @Query(propName = "score", type = Query.Type.GREATER_THAN)
    private Integer greatScore;

    /** 小于等于查询: 学科成绩 */
    @ApiParam("小于等于查询: 学科成绩")
    @Query(propName = "score", type = Query.Type.LESS_THAN)
    private Integer lessScore;
}